﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="c_LegalAffairsClass_5.ascx.cs" Inherits="HFWebApp.Control.c_LegalAffairsClass_5" %>

<%if(TypeID == 1){%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <asp:Repeater ID="Repeater2" runat="server">
        <ItemTemplate>
            <tr>
                <td height="24" align="center"><a href="<%#bp.getDemain %>/lawyeruser/lawyerlist.aspx?classid=<%#Eval("ID") %>"><%#Eval("ClassName") %></a></td>
            </tr>
        </ItemTemplate>
    </asp:Repeater>
</table>
<%}else{ %>
<div style=" width:100%; overflow:hidden;">
         <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                        <div style=" width:70px; float:left; height:24px; text-align:center; line-height:24px;"><a href="<%#bp.getDemain %>/lawyeruser/lawyerlist.aspx?classid=<%#Eval("ID") %>"><%#Eval("ClassName") %></a></div>
                 </ItemTemplate>
          </asp:Repeater>
</div>
<%} %>